home *** CD-ROM | disk | FTP | other *** search
-
-
-
- MMMMPPPPIIII____WWWWAAAAIIIITTTTAAAANNNNYYYY((((3333)))) MMMMPPPPIIII____WWWWAAAAIIIITTTTAAAANNNNYYYY((((3333))))
-
-
-
- NNNNAAAAMMMMEEEE
- MMMMPPPPIIII____WWWWaaaaiiiittttaaaannnnyyyy - Waits for any specified send or receive to complete
-
- SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
- C:
-
- #include <mpi.h>
-
- int MPI_Waitany(_c_o_u_n_t, _a_r_r_a_y__o_f__r_e_q_u_e_s_t_s, _i_n_d_e_x, _s_t_a_t_u_s )
- int _c_o_u_n_t;
- MPI_Request _a_r_r_a_y__o_f__r_e_q_u_e_s_t_s[];
- int *_i_n_d_e_x;
- MPI_Status *_s_t_a_t_u_s;
-
-
- C++:
-
- #include <mpi.h>
-
- static int Request::Waitany(
- int _c_o_u_n_t,
- Request _a_r_r_a_y__o_f__r_e_q_u_e_s_t_s[])
-
-
- Fortran:
-
- INCLUDE "mpif.h" (or USE MPI)
-
- INTEGER _c_o_u_n_t, _a_r_r_a_y__o_f__r_e_q_u_e_s_t_s(*), _i_n_d_e_x, _s_t_a_t_u_s(MPI_STATUS_SIZE), _i_e_r_r_o_r
-
- CALL MPI_WAITANY(_c_o_u_n_t, _a_r_r_a_y__o_f__r_e_q_u_e_s_t_s(*), _i_n_d_e_x, _s_t_a_t_u_s(MPI_STATUS_SIZE), _i_e_r_r_o_r)
-
-
- SSSSTTTTAAAANNNNDDDDAAAARRRRDDDDSSSS
- This release implements the MPI 1.2 standard, as documented by the MPI
- Forum in the spring 1997 release of _M_P_I: _A _M_e_s_s_a_g_e _P_a_s_s_i_n_g _I_n_t_e_r_f_a_c_e
- _S_t_a_n_d_a_r_d.
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- The MMMMPPPPIIII____WWWWaaaaiiiittttaaaannnnyyyy routine waits for any specified send or receive operation
- to complete. This routine accepts the following parameters:
-
- _c_o_u_n_t Specifies the list length (integer).
-
- _a_r_r_a_y__o_f__r_e_q_u_e_s_t_s
- Specifies the array of requests (array of handles).
-
- _i_n_d_e_x Returns the index of the handle for the operation that
- completed. For C, the range is 0 to _c_o_u_n_t-1. For Fortran, the
- range is 1 to _c_o_u_n_t (integer).
-
-
-
-
-
- PPPPaaaaggggeeee 1111
-
-
-
-
-
-
- MMMMPPPPIIII____WWWWAAAAIIIITTTTAAAANNNNYYYY((((3333)))) MMMMPPPPIIII____WWWWAAAAIIIITTTTAAAANNNNYYYY((((3333))))
-
-
-
- _s_t_a_t_u_s Returns the status object (status).
-
- _i_e_r_r_o_r Specifies the return code value for successful completion,
- which is in MPI_SUCCESS. MPI_SUCCESS is defined in the mmmmppppiiiiffff....hhhh
- file.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PPPPaaaaggggeeee 2222
-
-
-
-